package com.ms.p2p.utils;

public class Doit implements Runnable {

    public void run() {
        synchronized (Lock.class) {
            for (int i = 0; i < 500; i++) {
                System.out.println(Thread.currentThread().getName() + " synchronized loop " + i);
            }
        }


    }


}